import axios from '../../axios.js';
const tenants = {
    //获取已审核租客信息
    getTenants: function (params) {
        return axios({
            url: '/tenants/getTenants',
            method: 'get',
            params
        })
    },
    //获取未审核租客
    getAuditTenants: function (params) {
        return axios({
            url: '/tenants/getAuditTenants',
            method: 'get',
            params
        })
    },
    //获取要修改的未审核租客
    updateAuditTenants: function (data) {
        console.log(data);
        return axios({
            url: '/tenants/updateAuditTenants',
            method: 'post',
            data
        })
    }
}
export default tenants;